<?php

namespace plugin\ycMassage\app\validate;

use think\Validate;


class MassageUserChannels extends Validate
{
    public $rule =   [
        'title' => 'require',
        'mobile' => 'require|mobile',
        'category_id' => 'require',
        'province_id' => 'require',
        'city_id' => 'require',
        'area_id' => 'require',
    ];

    protected $message  =   [
        'title.require' => '名称必须',
        'mobile.require' => '手机号必须',
        'mobile.mobile' => '手机号格式不正确',
        'category_id.require' => '类目必须',
        'province_id.require' => '省份必须',
        'city_id.require' => '城市必须',
        'area_id.require' => '区域必须',
    ];
}
